﻿<UserControl x:Class="CoverFlowControl"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             mc:Ignorable="d" 
            >
    <Grid Name="GridV" ClipToBounds="False">
       
        <Viewport3D x:Name="viewPort" Grid.Column="0" Grid.Row="0" MouseDown="viewPort_MouseDown" Width="555" Height="100" VerticalAlignment="Top" ClipToBounds="False">
            <Viewport3D.Camera>
                <PerspectiveCamera x:Name="camera" Position="0,0,3" UpDirection="0,1,0"
          LookDirection="0,0,-1" FieldOfView="100" NearPlaneDistance="0.125"/>
            </Viewport3D.Camera>
            <Viewport3D.Children>
                <ModelVisual3D>
                    <ModelVisual3D.Content>
                		<AmbientLight Color="#FFF1F1F1" >
                			<AmbientLight.Transform>
                				<Transform3DGroup>
                					<TranslateTransform3D OffsetZ="0" OffsetX="0" OffsetY="0"/>
                					<ScaleTransform3D ScaleZ="1" ScaleY="1" ScaleX="1"/>
                					<RotateTransform3D d:EulerAngles="360,0,0">
                						<RotateTransform3D.Rotation>
                							<AxisAngleRotation3D Axis="1,0,0" Angle="360"/>
                						</RotateTransform3D.Rotation>
                					</RotateTransform3D>
                					<TranslateTransform3D OffsetZ="0" OffsetX="0" OffsetY="0"/>
                					<TranslateTransform3D OffsetZ="0" OffsetX="0" OffsetY="0"/>
                				</Transform3DGroup>
                			</AmbientLight.Transform>
                		</AmbientLight>
                	</ModelVisual3D.Content>
                </ModelVisual3D>
                <ModelVisual3D x:Name="visualModel">
                	<ModelVisual3D.Transform>
                		<Transform3DGroup>
                			<TranslateTransform3D OffsetZ="0" OffsetX="0" OffsetY="0"/>
                			<ScaleTransform3D ScaleZ="1" ScaleY="1" ScaleX="1"/>
                			<RotateTransform3D>
                				<RotateTransform3D.Rotation>
                					<AxisAngleRotation3D Axis="0,1,0" Angle="0"/>
                				</RotateTransform3D.Rotation>
                			</RotateTransform3D>
                			<TranslateTransform3D OffsetZ="0" OffsetX="0" OffsetY="0"/>
                			<TranslateTransform3D OffsetZ="0.035"/>
                		</Transform3DGroup>
                	</ModelVisual3D.Transform>
                </ModelVisual3D>
            </Viewport3D.Children>
        </Viewport3D>
    </Grid>
</UserControl>
